<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="tagmanager_v2.html">Tag Manager API</a> . <a href="tagmanager_v2.accounts.html">accounts</a> . <a href="tagmanager_v2.accounts.containers.html">containers</a> . <a href="tagmanager_v2.accounts.containers.destinations.html">destinations</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#get">get(path, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a Destination.</p>
<p class="toc_element">
  <code><a href="#link">link(parent, allowUserPermissionFeatureUpdate=None, destinationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Adds a Destination to this Container and removes it from the Container to which it is currently linked.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all Destinations linked to a GTM Container.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="get">get(path, x__xgafv=None)</code>
  <pre>Gets a Destination.

Args:
  path: string, Google Tag Destination&#x27;s API relative path. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Google Tag Destination.
  &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
  &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
  &quot;destinationId&quot;: &quot;A String&quot;, # Destination ID.
  &quot;destinationLinkId&quot;: &quot;A String&quot;, # The Destination link ID uniquely identifies the Destination.
  &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.
  &quot;name&quot;: &quot;A String&quot;, # Destination display name.
  &quot;path&quot;: &quot;A String&quot;, # Destination&#x27;s API relative path.
  &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI.
}</pre>
</div>

<div class="method">
    <code class="details" id="link">link(parent, allowUserPermissionFeatureUpdate=None, destinationId=None, x__xgafv=None)</code>
  <pre>Adds a Destination to this Container and removes it from the Container to which it is currently linked.

Args:
  parent: string, GTM parent Container&#x27;s API relative path. (required)
  allowUserPermissionFeatureUpdate: boolean, Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.
  destinationId: string, Destination ID to be linked to the current container.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Google Tag Destination.
  &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
  &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
  &quot;destinationId&quot;: &quot;A String&quot;, # Destination ID.
  &quot;destinationLinkId&quot;: &quot;A String&quot;, # The Destination link ID uniquely identifies the Destination.
  &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.
  &quot;name&quot;: &quot;A String&quot;, # Destination display name.
  &quot;path&quot;: &quot;A String&quot;, # Destination&#x27;s API relative path.
  &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI.
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, x__xgafv=None)</code>
  <pre>Lists all Destinations linked to a GTM Container.

Args:
  parent: string, GTM parent Container&#x27;s API relative path. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  &quot;destination&quot;: [ # All Destinations linked to a GTM Container.
    { # Represents a Google Tag Destination.
      &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
      &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
      &quot;destinationId&quot;: &quot;A String&quot;, # Destination ID.
      &quot;destinationLinkId&quot;: &quot;A String&quot;, # The Destination link ID uniquely identifies the Destination.
      &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.
      &quot;name&quot;: &quot;A String&quot;, # Destination display name.
      &quot;path&quot;: &quot;A String&quot;, # Destination&#x27;s API relative path.
      &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI.
    },
  ],
  &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
}</pre>
</div>

</body></html>